<template>
  <div class="right-top-module">
    <HealthScore :health-score="healthScore" />
    <RunningRate />
  </div>
</template>

<script>
import HealthScore from './HealthScore.vue'
import RunningRate from './RunningRate.vue'

export default {
  name: 'RightTopModule',
  components: {
    HealthScore,
    RunningRate
  },
  props: {
    healthScore: {
      type: Object,
      default: () => ({
        score: 100,
        details: [],
        status: 'normal'
      })
    }
  }
}
</script>

<style lang="scss" scoped>
.right-top-module {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
</style>

<style lang="scss" scoped>
.right-top-module {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 300px;
  min-width: 300px;
}
</style>
